package dao;

import bean.UserInfo;

import java.util.List;

/**
 * @classname:UserDao
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/29 20:12
 * @version: 0.1
 * @since:1.8
 */
public interface UserDao {

    int add(UserInfo userInfo);

    int delete(int id);

    int deleteMany(int[] ids);

    UserInfo selectUserById(int id);

    long countUserInfo();

    List<UserInfo> selectUserInfoByPage(int page);

}
